package com.lagou.edu.dao;

import com.lagou.edu.entity.UserAuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/** 2020/5/27 16:08
 */
public interface UserAuthCodeDao extends JpaRepository<UserAuthCode, Long> {

    public List<UserAuthCode> findUserAuthCodeByEmailOrderByExpiretimeDesc(String email);

}
